<?php

namespace TemplateMethod\MethodChild;

use TemplateMethod\AbstractClass;

include_once "AbstractClass.php";
class ConcreteClassB extends AbstractClass
{
    public function primitiveOperationA()
    {
        echo "具体类B-方法1实现" . PHP_EOL;
    }

    public function primitiveOperationB()
    {
        echo "具体类B-方法2实现" . PHP_EOL;
    }
}